package cn.kgc.shiro.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 课工场
 * @date 2024/3/27
 * @description 该模块采用 权限字符串 进行权限控制
 */
public class StudentController {


    @RequiresPermissions("sys:student:delete")
    @GetMapping("/delete/{id}")
    public boolean delete(@PathVariable("id") Integer id) {

        return false;
    }

}
